package kr.co.sdworld.api.apns.service;

import kr.co.sdworld.api.apns.model.ApnsLogin;
import kr.co.sdworld.api.apns.model.ApnsMember;
import kr.co.sdworld.api.apns.repository.login.ApnsLoginDao;
import kr.co.sdworld.api.apns.repository.member.ApnsMemberDao;
import kr.co.sdworld.stone.SpringBeanUtil;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class MemberServiceImpl implements MemberService
{
	@Transactional
	public void memberSave( ApnsMember member, ApnsLogin login)
	{
		SpringBeanUtil.repository( ApnsMemberDao.class).create( member);
		SpringBeanUtil.repository( ApnsLoginDao.class).create( login);
	}
}
